package com.lgc.webtest.service.impl;

import com.lgc.webtest.dao.primary.UserDao;
import com.lgc.webtest.entity.domain.UserDO;
import com.lgc.webtest.service.HomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HomeServiceImpl implements HomeService {

    @Autowired
    private UserDao userDao;

    @Override
    public UserDO getUserAccountByUserId(String userId){
        return userDao.getUserByUserId(userId);
    }

}
